Multiprecision division: Expanded Version
نویسندگان
چکیده
This paper presents a study of multiprecision division on processors containing word-by-word multipliers. It compares several algorithms by first optimizing each for the software environment, and then comparing their performances on simple machine models. While the study was originally motivated by floating-point division in the small-word environment, the results are extended to multiprecision floatingpoint and integer division in general to the extent possible without extensive architecture-specific analysis. Two algorithms are found to be best for multiprecision division. For many floating-point division problems, and especially for any division by a small divisor, a hybrid of the Newton-Raphson and Byte Division algorithms is optimal, where significant reciprocal refinement is performed before beginning very high radix Byte Division iterations. Low-precision arithmetic and a method of inexpensively boosting accuracy during Newton-Raphson reciprocal refinement improve algorithm efficiency. For other division problems, Restoring Division is best, and is easy to implement. The asymptotic costs for floating-point division of each of these algorithms is the same as that of multiprecision multiplication.
منابع مشابه
Multiprecision division on small-word parallel processors: Expanded Version
This paper presents a study of software implementation of division on small-word parallel processors containing word-by-word multipliers. It compares several algorithms for a variety of architectures. This is done by first optimizing each algorithm for the small-word environment and then comparing their performance on simple machine models. The results indicate that a modified Newton-Raphson al...
متن کاملMultiprecision Division on an 8-bit Processor
Small processors can be especially useful in massively parallel architectures. This paper considers multiprecision division algorithms on an 8-bit processor (the Kestrel processor, currently in fabrication) that includes a small amount of memory and an 8-bit multiplier. We evaluate several variations of the Newton-Raphson reciprocal approximation methods for use with division. Our final singlep...
متن کاملMultiprecision Translation and Execution of Fortran Programs
This paper describes two Fortran utilities for multiprecision computation. The first is a package of Fortran subroutines that perform a variety of arithmetic operations and transcendental functions on floating point numbers of arbitrarily high precision. This package is in some cases over 200 times faster than that of certain other packages that have been developed for this purpose. The second ...
متن کاملA parallel code for multiprecision computations of the Lane-Emden differential equation
We compute multiprecision solutions of the Lane–Emden equation. This differential equation arises when introducing the well-known polytropic model into the equation of hydrostatic equilibrium for a nondistorted star. Since such multiprecision computations are time-consuming, we apply to this problem parallel programming techniques and thus the execution time of the computations is drastically r...
متن کاملInteger and Rational Arithmetic on MasPar
The speed of integer and rational arithmetic increases significantly by systolic implementation on a SIMD architecture. For multiplication of integers one obtains linear speed-up (up to 29 times), using a serial{parallel scheme. A two-dimensional algorithm for multiplication of polynomials gives half-linear speed-up (up to 383 times). We also implement multiprecision rational arithmetic using k...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1998